package com.example.log.alarm.util;

/**
 * @program: spring-agent
 * @description:
 * @author: zt22328 赵儒定
 * @create: 2023-05-11 13:33
 **/
public class ReflectUtil {

    public static Object newInstance(String className) {
        try {
            return Class.forName(className).newInstance();
        } catch (Exception ex) {
            return null;
        }
    }
}
